package com.cxm.homework5.cglib;

public class Test {
    public static void main(String[] args) {
        UserDaoImpl userDao = new UserDaoImpl();
        CglibProxy cglibProxy = new CglibProxy();
        UserDaoImpl userDao1 = (UserDaoImpl) cglibProxy.createProxy(userDao);
        userDao1.add();
        userDao1.delete();
    }
}
